package com.sumainfor.pc.gmio.controller.cfo;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.pc.gmio.service.impl.cfo.TheOwnerRentServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

/**
 * <p>
 * 业主房租待打款
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-07-02 23:57
 **/
@Controller
@RequestMapping("/provider/key/theOwnerRent")
public class TheOwnerRentController {

    @Autowired
    TheOwnerRentServiceImpl theOwnerRentService;

    /**
     * 业主房租待打款
     * @author zhoucong
     * @data 2019/7/3
     * @Param
     * @return
     */
    @ResponseBody
    @GetMapping("/getTheOwnerRent")
    public JsonResult getTheOwnerRent(){
        return theOwnerRentService.getTheOwnerRent();
    }
}
